//
//  ZPayViewLabelCell.m
//  DoctorFAQs
//
//  Created by zjq on 17/2/16.
//  Copyright © 2017年 zjq. All rights reserved.
//

#import "ZPayViewLabelCell.h"
#import "ZLabelTools.h"
@interface ZPayViewLabelCell ()
   


@end

@implementation ZPayViewLabelCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        
    }
    return self;
}
- (void)initlizeInterface {
    _titleLabel = [[UILabel alloc] init];
    [ZLabelTools setThelabel:_titleLabel Textcolor:[UIColor blackColor] backColor:[UIColor whiteColor] Fontsize:15 context:@"" isCenter:NO];
    _contextLabel = [[UILabel alloc] init];
    [ZLabelTools setThelabel:_contextLabel Textcolor:KHGaryColor backColor:[UIColor whiteColor] Fontsize:15 context:@"" isCenter:NO];
    [self addALLSubViewMasnoy];
}
- (void)addALLSubViewMasnoy {
    [self.contentView addSubview:_titleLabel];
    [self.contentView addSubview:_contextLabel];
    [_titleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(self.contentView);
        make.centerY.equalTo(self);
        make.height.offset(15*ysIZE);
        make.width.offset(40*xsIZE);
    }];
    [_contextLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(_titleLabel.mas_right);
        make.height.centerY.equalTo(_titleLabel);
        make.width.offset(60*xsIZE);
    }];
}
- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
